package com.usian.service;

import com.usian.pojo.TbItem;
import com.usian.utils.PageResult;

import java.util.Map;

public interface ItemService {

    public TbItem selectItemInfo(Long itemId);

    public PageResult selectTbItemAllByPage(Integer page, Integer rows);

    public Integer insertTbItem(TbItem item,String desc,String itemParams);

    public Map<String ,Object> preUpdateItem(Long itemId);

    public Integer updateTbItem(TbItem item,String desc,String itemParams);

    public Integer deleteItemById(Long itemId);

    Integer updateTbItemByOrderId(String orderId);
}
